package Singleton;

/**
 * Created by wangyg 
 * on 2017/6/13 20:25
 */
public class Singleton {
	//	饿汉式
	private static Singleton instance = new Singleton();

	public static Singleton getInstance() {
		return instance;
	}

	private Singleton() {
	}
}
